Part Number Hot Search : 
HSK07X KSB907 SPI21N10 T9040 13003A 1N4007 RL256GP P55NF
Product Description
Full Text Search
 

To Download DM9332 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  davicom semiconductor, inc. DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter data sheet preliminary version: DM9332-ds-p01 march 5, 2012
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 2 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 content 1. general description............................................................................................... 8 2. block diagram........................................................................................................... 8 3. features ...................................................................................................................... 9 4. pin configuration .................................................................................................. 10 5. pin description ........................................................................................................ 11 5.1 p2 mii / rmii / reverse mii interfaces ..................................................................................... ..................... 11 5.1.1 mii interfaces ........................................................................................................... ................................ 11 5.1.2 rmii interfaces.......................................................................................................... ............................... 11 5.1.3 reverse mii interfaces ................................................................................................... .......................... 12 5.2 eeprom interfaces .......................................................................................................... ............................. 12 5.3 led pins ................................................................................................................... ...................................... 12 5.4 clock interface............................................................................................................ ................................... 13 5.5 network interface .......................................................................................................... ................................ 13 5.6 miscellaneous pins ......................................................................................................... .............................. 13 5.7 power pins ................................................................................................................. .................................... 13 5.8 strap pins table........................................................................................................... ................................... 14 6. control and status register set................................................................... 15 6.1 eeprom & phy control register (0bh) ........................................................................................ ............. 16
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 3 DM9332-15-ds-p01 march 5, 2012 6.2 eeprom & phy address register (0ch) ........................................................................................ ........... 16 6.3 eprom & phy data register (0dh~0eh) ........................................................................................ ........... 16 6.4 vendor id register (28h~29h) ............................................................................................... ...................... 16 6.5 port 2 driving capability register (3ah)................................................................................... ................... 16 6.6 switch control register (52h).............................................................................................. ........................ 17 6.7 vlan control register (53h) ................................................................................................ ....................... 17 6.8 switch status register (54h) ............................................................................................... ........................ 17 6.9 per port control/status index register (60h)............................................................................... .............. 18 6.10 per port control data register (61h) ...................................................................................... .................. 18 6.11 per port status data register (62h) ....................................................................................... ................... 18 6.12 per port forward control register (65h) ................................................................................... ............... 19 6.13 per port ingress/egress control register (66h) ............................................................................ .......... 20 6.14 bandwidth control setting register (67h).................................................................................. .............. 21 6.15 per port block unicast ports control register (68h) ....................................................................... ....... 21 6.16 per port block multicast ports control register (69h)..................................................................... ....... 22 6.17 per port block broadcast ports control register (6ah) ..................................................................... .... 22 6.18 per port block unknown ports control register (6bh) ....................................................................... ... 22 6.19 per port priority queue control register (6dh)............................................................................ ........... 22 6.20 per port vlan tag low byte register (6eh) ................................................................................. .......... 22 6.21 per port vlan tag high byte register (6fh)................................................................................ ........... 23
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 4 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 6.22 mib counters port index register (80h).................................................................................... ................ 23 6.23 mib counter data register (81h~84h)....................................................................................... ................ 23 6.24 vlan grouping table registers (b0h~bfh) ................................................................................... .......... 24 6.25 tos priority map registers (c0h~cfh)...................................................................................... .............. 24 6.26 vlan priority map registers (d0h~d1h) ..................................................................................... ............ 27 7. eeprom format........... ............... ............... ............. ............. ............. ............. ........... 28 8. phy registers .......................................................................................................... 31 8.1 basic mode control register (bmcr) ? 00h ................................................................................... ........... 32 8.2 basic mode status register (bmsr) ? 01h .................................................................................... ............ 33 8.3 phy id identifier register #1 (phyid1) ? 02h............................................................................... .............. 34 8.4 phy id identifier register #2 (phyid2) ? 03h............................................................................... .............. 34 8.5 auto-negotiation advertisement register (anar) ? 04h....................................................................... ... 35 8.6 auto-negotiation link partner ability register (anlpar) ? 05h ............................................................. 3 6 8.7 auto-negotiation expansion register (aner) - 06h ........................................................................... ...... 37 8.8 davicom specified configuration register (dscr) ? 10h ...................................................................... 37 8.9 davicom specified configuration and status register (dscsr) ? 11h ................................................ 39 8.10 10base-t configuration/status (10btcsr) ? 12h............................................................................. ..... 40 8.11 power down control register (pwdor) ? 13h ................................................................................. ....... 40 8.12 (specified config) register ? 14h ......................................................................................... ..................... 41 8.13 davicom specified receive error counter register (recr) ? 16h ..................................................... 42
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 5 DM9332-15-ds-p01 march 5, 2012 8.14 davicom specified disconnect counter register (discr) ? 17h ........................................................ 42 8.15 power saving control register (pscr) ? 1dh ................................................................................ ......... 42 9. functional description....................................................................................... 43 9.1 serial management interface................................................................................................ ........................ 43 9.2 switch function:........................................................................................................... .................................. 44 9.2.1 address learning ......................................................................................................... ............................ 44 9.2.2 address aging ............................................................................................................ .............................. 44 9.2.3 packet forwarding ........................................................................................................ ........................... 44 9.2.4 inter-packet gap (ipg) ................................................................................................... ......................... 44 9.2.5 back-off algorithm....................................................................................................... ............................. 44 9.2.6 late collision........................................................................................................... ................................. 44 9.2.7 full duplex flow control ................................................................................................. ......................... 44 9.2.8 half duplex flow control ................................................................................................. ........................ 44 9.2.9 partition mode ........................................................................................................... ............................... 45 9.2.10 broadcast storm filtering............................................................................................... ........................ 45 9.2.11 bandwidth control....................................................................................................... ........................... 45 9.2.12 port monitoring support ................................................................................................. ........................ 45 9.2.13 vlan support ............................................................................................................ ............................ 46 9.2.13.1 port-based vlan....................................................................................................... ......................... 46 9.2.13.2 802.1q-based vlan..................................................................................................... ...................... 46 9.2.13.3 tag/untag ............................................................................................................. .............................. 46 9.2.14 priority support ........................................................................................................ .............................. 47 9.2.14.1 port-based priority ................................................................................................... ........................... 47 9.2.14.2 802.1p-based priority................................................................................................. ......................... 47 9.2.14.3 diffserv-based priority............................................................................................... ......................... 47 9.3 mii interface.............................................................................................................. ...................................... 48 9.3.1 mii data interface ....................................................................................................... .............................. 48 9.3.2 mii serial management .................................................................................................... ........................ 48 9.3.3 serial management interface .............................................................................................. ..................... 49 9.3.4 management interface - read frame structure .............................................................................. ........ 49
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 6 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 9.3.5 management interface - write frame structure ............................................................................. ......... 49 9.4 internal phy functions ..................................................................................................... ............................. 50 9.4.1 100base-tx operation ..................................................................................................... ....................... 50 9.4.1.1 4b5b encoder ........................................................................................................... ............................ 50 9.4.1.2 scrambler .............................................................................................................. ................................ 50 9.4.1.3 parallel to serial converter ........................................................................................... ........................ 50 9.4.1.4 nrz to nrzi encoder .................................................................................................... ....................... 50 9.4.1.5 mlt-3 converter ........................................................................................................ ........................... 50 9.4.1.6 mlt-3 driver ........................................................................................................... .............................. 50 9.4.1.7 4b5b code group........................................................................................................ ......................... 51 9.4.2 100base-tx receiver ...................................................................................................... ........................ 52 9.4.2.1 signal detect .......................................................................................................... ............................... 52 9.4.2.2 adaptive equalization.................................................................................................. .......................... 52 9.4.2.3 mlt-3 to nrzi decoder.................................................................................................. ...................... 52 9.4.2.4 clock recovery module .................................................................................................. ...................... 52 9.4.2.5 nrzi to nrz ............................................................................................................ ............................. 52 9.4.2.6 serial to parallel ..................................................................................................... ............................... 52 9.4.2.7 descrambler ............................................................................................................ .............................. 52 9.4.2.8 code group alignment................................................................................................... ....................... 53 9.4.2.9 4b5b decoder........................................................................................................... ............................ 53 9.4.3 10base-t operation....................................................................................................... .......................... 53 9.4.4 collision detection ...................................................................................................... ............................. 53 9.4.5 carrier sense ............................................................................................................ ............................... 53 9.4.6 auto-negotiation ......................................................................................................... ............................. 53 9.5 hp auto-mdix functional descriptions ....................................................................................... ............... 53 10. dc and ac electrical characteristics ..................................................... 55 10.1 absolute maximum ratings .................................................................................................. ..................... 55 10.2 operating conditions...................................................................................................... ............................ 55 10.3 dc electrical characteristics ............................................................................................. ........................ 56
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 7 DM9332-15-ds-p01 march 5, 2012 10.4 ac characteristics ........................................................................................................ ............................... 56 10.4.1 power on reset timing ................................................................................................... ...................... 56 10.4.2 port 2 mii interface transmit timing.................................................................................... .................. 57 10.4.3 port 2 mii interface receive timing..................................................................................... .................. 57 10.4.4 mii management or host smi interface timing............................................................................. ......... 58 10.4.5 eeprom timing ........................................................................................................... .......................... 59 11. package information........................................................................................ 60 12. ordering information ...................................................................................... 61
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 8 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 1. general description the DM9332 is a fully integrated and cost-effective 10/100mbps ethernet fiber/twisted pair single chip media converter with mii/rmii interface. this new product provides basic layer-2 switch functions and advance ieee 802.1q vlan, priority queuing scheme. besides the DM9332 fiber converter is complies with ieee802.3 standards, and designed for convert data signal between 10/100 base-tx and 100 base-fx fast ethernet. media converters are connected between fiber cable and twisted cable segments with network and also the simplest way to interconnect any equipment?s 100base-tx / 10base-t to the 100base-fx interface network. 2. block diagram 100m pecl txmt/ rxcr 100m mac 10/100m phy 10/100m mac 10/100/ 1000m mac port 0 pecl tx/rx port 1 mdi / mdix port 2 mii / rmii switch controller control registers mib counters eeprom interface embedded memory memory bist memory management switch engine led control leds eeprom switch fabric smi i/f
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 9 DM9332-15-ds-p01 march 5, 2012 3. features ? 10/100base-tx/fx switch base single-chip media converter ? compliant with ieee802.3u 100base-tx standard, compliant with ansi x3t12 tp-pmd 1995 standard, compliant with ansi x3.166 fddi-pmd ? ethernet switch with two 10/100mb phy with one mii/rmii/reverse mii interface ? per port supports 4 priority queues by port-based, 802.1p vlan, and ip tos priority. ? support 802.1q vlan up-to 16 vlan group. ? support vlan id tag/untag options ? per port support bandwidth, ingress and egress rate control. ? support broadcast storming filter function ? support store and forward switching approach ? support ieee 802.3x flow control in full-duplex mode. ? support back pressure flow control in half-duplex mode. ? recode up-to 1k uni-cast mac addresses ? automatic aging scheme ? eeprom interface for power up configurations ? support mib-ii counters ? compatible with 3.3v and 5.0v tolerant i/o ? dsp phy with hp auto-mdix, dsp architecture phy transceiver. ? 64-pin lqfp, 0.18 um process, support lead-free and halogen?free
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 10 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 4. pin configuration 64 pin lqfp: 11 32 31 30 24 23 22 21 20 19 18 17 1 2 3 4 5 6 7 8 9 10 12 13 14 15 16 29 28 27 26 25 x1 gnd lnk1_led spd1_led x2 test2 smi_ck smi_dio test3 gnd vcc3 mdc crs2 mdio txd2_2 txe2 vcci vcc3 txer2 gnd txd2_1 eeck vcc3 rxd2_2 rxd2_3 gnd pwrst# col2 rxdv2 test1 eedio rxd2_1 gnd rxc2 eecs txd2_3 rxer rxd2_0 49 50 51 52 53 54 55 56 57 58 59 60 61 63 64 62 vcci spd0_led gnd lnk0_led vcc3 txd2_0 txc2 gnd 36 37 38 39 40 41 42 43 44 45 46 33 34 35 48 47 avddi tx1+ tx1- agnd rx1+ rx1- avdd tx0+ tx0- agnd rx0+ rx0- avdd bgres sd DM9332 vref vcntl avddi
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 11 DM9332-15-ds-p01 march 5, 2012 5. pin description i = input, o = output, i/o = input / output, o/d = open dr ain, p = power, pd=internal pull-low (about 50k ohm) # = asserted low 5.1 p2 mii / rmii / reverse mii interfaces 5.1.1 mii interfaces pin no. pin name i/o description 2 mdc o,pd mii serial management data clock 3 mdio i/o mii serial management data 5,6,7,9 txd2_3~0 o,pd port 2 mii transmit data 4-bit nibble data outputs (synchronous to the txc2) 10 txe2 o,pd port 2 mii transmit enable 12 txc2 i/o port 2 mii transmit clock. 14 txer2 o,pd port 2 mii transmit error 15 crs2 i/o port 2 mii carrier sense 17 col2 i/o port 2 mii collision detect. 18 rxer2 i port 2 mii receive error 19 rxc2 i port 2 mii receive clock 20 rxdv2 i port 2 mii receive data valid 21,22,24,25 rxd2_3~0 i port 2 mii receive data 4-bit nibble data input (synchronous to rxc2) 5.1.2 rmii interfaces pin no. pin name i/o description 2 mdc o,pd mii serial management data clock 3 mdio i/o mii serial management data 5,6 txd2_3~2 o,pd reserved 7,9 txd2_1~0 o,pd rmii transmit data 10 txe2 o,pd rmii transmit enable. 12 txc2 o reserved 14 txer2 o port 2 mii transmit error 15 crs2 i rmii crs_dv 17 col2 i reserved, tie to ground in application. 18 rxer2 i reserved, tie to ground in application. 19 rxc2 i 50mhz reference clock. 20 rxdv2 i reserved, tie to ground in application. 21,22 rxd2_3~2 i reserved, tie to ground in application. 24,25 rxd2_1~0 i rmii receive data.
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 12 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 5.1.3 reverse mii interfaces pin no. pin name i/o description 2 mdc o,pd reserved 3 mdio i/o reserved 5,6,7,9 txd2_3~0 o,pd port 2 mii transmit data 4-bit nibble data outputs (synchronous to the txc2) 10 txe2 o,pd port 2 mii transmit enable 12 txc2 o 25mhz clock output 14 txer2 o,pd port 2 mii transmit error 15 crs2 o port 2 carrier sense output when txe2 or rxdv2 asserted. 17 col2 o port 2 collision out put when txe2 and rxdv2 asserted. 18 rxer2 i port 2 mii receive error 19 rxc2 i port 2 mii receive clock 20 rxdv2 i port 2 mii receive data valid 21,22,24,25 rxd2_3~0 i port 2 mii receive data 4-bit nibble data input (synchronous to rxc2) 5.2 eeprom interfaces pin no. pin name i/o description 27 eedio i/o eeprom data in/out 28 eeck o,pd eeprom serial clock this pin is used as the clock for the eeprom data transfer. 29 eecs o,pd eeprom chip selection. 5.3 led pins pin no. pin name i/o description 55 lnk1_led o port 1 link / active led it is the combined led of link and carrier sense signal of the internal phy1 56 spd1_led o port 1 speed led its low output indicates that the internal phy1 is operated in 100m/s, or it is floating for the 10m mode of the internal phy1 57 lnk0_led o port 0 link / active led it is the combined led of link and carrier sense signal of the internal phy0 58 spd0_led o port 0 speed led its low output indicates that the internal phy0 is operated in 100m/s, or it is floating for the 10m mode of the internal phy0
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 13 DM9332-15-ds-p01 march 5, 2012 5.4 clock interface pin no. pin name i/o description 52 x1 i crystal 25mhz in 53 x2 o crystal 25mhz out 5.5 network interface pin no. pin name i/o description 34,35 tx1+/- i/o port 1 tp tx these two pins are the twisted pair transmit in mdi mode or receive in mdix mode. 37,38 rx1+/- i/o port 1 tp rx these two pins are the twisted pair receive in mdi mode or transmit in mdix mode. 41,42 tx0+/- i/o port 0 fx tx fiber transmitter data pair. 44,45 rx0+/- i/o port 0 fx rx fiber receiver data pair. 47 bgres i/o band gap pin connect a 1.4k resistor to bggnd in application. 48 sd i fiber signal detect 49 vcntl i/o 1.8v voltage control 50 vref o voltage reference connect a 0.1u capacitor to ground in application. 5.6 miscellaneous pins pin no. pin name i/o description 30 pwrst# i power on reset low active with minimum 1ms 60 smi_ck i serial data management interface clock 62 smi_dio i/o serial data management interface in / out 32 test1 i,pd tie to vcc3 in application 59 test2 i,pd tie to gnd in application 63 test3 i,pd tie to vcc3 in application 5.7 power pins pin no. pin name i/o description 1,13,26,51 vcc3 p digital 3.3v 11,61 vcci p internal 1.8v core power 4,8,16,23,31,54,64 gnd p digital gnd 39,46 avdd3 p analog 3.3v power 33,40 avddi p analog 1.8v power 36,43 agnd p analog gnd
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 14 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 5.8 strap pins table 1: pull-high 1k~10k, 0: floating (defau lt), pin 29 pull high in application. pin no. pin name description 28 eeck 0: port 2 in force 10 mbps mode 1: port 2 in force 100 mbps mode 29 eecs 0= p0 in copper mode 1= p0 in fiber mode 14 txer2 0= p1 in copper mode 1= p1 in fiber mode 2 mdc 0: bist 1: bypass bist 5 txd2_3 6 txd2_2 txd2_3 txd2_2 mode 0 0 mii mode 0 1 reverse mii mode 1 0 rmii mode 1 1 reserved (do not use) 7 txd2_1 smi device address 1 9 txd2_0 smi device address 0 10 txe2 0: port 2 normal mode 1: port 2 force mode
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 15 DM9332-15-ds-p01 march 5, 2012 6. control and status register set the DM9332 implements several control and status registers, which can be accessed by the serial management interface. these csrs are byte aligned. all csrs are set to their default values by hardware or software reset unless specified register description offset default value after reset epcr eeprom & phy control register 0bh 00h epar eeprom & phy address register 0ch 40h epdrl eeprom & phy low byte data register 0dh xxh epdrh eeprom & phy high byte data register 0eh xxh vid vendor id 28h-29h 0a46h p2frv port 2 driving capability register 3ah 21h switchcr switch control register 52h 00h vlancr vlan control register 53h 00h switchsr switch status register 54h 00h dsp1,2 dsp control register i,ii 58h~59h 0000h p_index per port control/status index register 60h 00h p_ctrl per port control data register 61h 00h p_stus per port status data register 62h 00h p_rate per port ingress and egress rate control register 66h 00h p_bw per port bandwidth control register 67h 00h p_unicast per port block unicast ports control register 68h 00h p_multi per port block multicast ports control register 69h 00h p_bcast per port block broadcast ports control register 6ah 00h p_unknwn per port block unknown ports control register 6bh 00h p_pri per port priority queue control register 6dh 00h vlan_tagl per port vlan tag low byte register 6eh 01h vlan_tagh per port vlan tag high byte register 6fh 00h p_mib_idx per port mib counter index register 80h 00h mib_dat mib counter data register bit 0~7 81h 00h mib_dat mib counter data register bit 8~15 82h 00h mib_dat mib counter data register bit 16~23 83h 00h mib_dat mib counter data register bit 24~31 84h 00h pvlan port-based vlan mapping table registers b0-bfh 0fh tos_map tos priority map register c0-cfh 00h~ffh vlan_map vlan priority map register d0-d1h 50h,fah key to default in the register description that follows, the default column takes the form: , where: : 1 bit set to logic one 0 bit set to logic zero x no default value p = power on reset default value h = hardware reset, by reg. 52h bit 6, default value e = default value from eeprom setting t = default value from strap pin : ro = read only rw = read/write r/c = read and clear rw/c1=read/write and cleared by write 1 wo = write only reserved bits should be written with 0. reserved bits are undefined on read access.
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 16 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 6.1 eeprom & phy control register (0bh) bit name default description 7:6 reserved 0,ro reserved 5 reep ph0,rw reload eeprom. driver needs to clear it up after the operation completes 4 wep ph0,rw write eeprom enable 3 epos ph0,rw eeprom or phy operation select when reset, select eeprom; when set, select phy 2 erprr ph0,rw eeprom read or phy register read command. driver needs to clear it up after the operation completes. 1 erprw ph0,rw eeprom write or phy register write command. driver needs to clear it up after the operation completes. 0 erre ph0,ro eeprom access status or phy access status when set, it indicates that the eeprom or phy access is in progress 6.2 eeprom & phy address register (0ch) bit name default description 7:6 phy_adr ph01,rw phy address bit 1 and 0; the phy address bit [4:2] is force to 0. 5:0 eroa ph0,rw eeprom word address or phy register address 6.3 eprom & phy data register (0dh~0eh) bit name default description 7:0 ee_phy_l ph0,rw eeprom or phy low byte data (0dh) this data is made to write/read low byte of word address defined in reg. ch to eeprom or phy 7:0 ee_phy_h ph0,rw eeprom or phy high byte data (0eh) this data is made to write/read high byte of word address defined in reg. ch to eeprom or phy 6.4 vendor id register (28h~29h) bit name default description 7:0 vidh pe,0ah,ro vendor id high byte (29h) 7:0 vidl pe,46h.ro vendor id low byte (28h) 6.5 port 2 driving capability register (3ah) bit name default description 7 reserved 0,ro reserved 6:5 p2_curr p01,rw port 2 txd/txe driving/sinking capability 00: 2ma 01: 4ma (default) 10: 6ma 11: 8ma 4:0 reserved p01,rw reserved
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 17 DM9332-15-ds-p01 march 5, 2012 6.6 switch control register (52h) bit name default description 7 mem_bist ph0,ro address table memory test bist status 0: ok 1: fail 6 rst_sw p0,rw reset switch core and auto clear after 10us 5 rst_anlg p0,rw reset analog phy core and auto clear after 10us 4:3 snf_port pe00,rw sniffer port number define the port number to act as the sniffer port 00 port 0 01 port 1 10 port 2 11 reserved 2 crc_dis pe0,rw crc checking disable when set, the received crc error packet also accepts to receive memory. 1:0 age pe0,rw address table aging 00: no aging 01: 64 32 sec 10: 128 64 sec 11: 256 128 sec 6.7 vlan control register (53h) bit name default description 7 tos6 pe0,rw full ip tos field for priority queue 1: check most significant 6-bit of tos 0: check most significant 3-bit only of tos 6 reserved 0,ro reserved 5 unicast pe0,rw unicast packet can across vlan boundary 4 vidff pe0,rw replace vidff if the received packet is a tagged vlan with vid equal to ?fff?, its vlan field is replaced with vlan tag defined in reg. 6eh and 6fh. 3 vid1 pe0,rw replace vid01 if the received packet is a tagged vlan with vid equal to ?001?, its vlan field is replaced with vlan tag defined in reg. 6eh and 6fh. 2 vid0 pe0,rw replace vid0 if the received packet is a tagged vlan with vid equal to ?000?, its vlan field is replaced with vlan tag defined in reg. 6eh and 6fh. 1 pri pe0,rw replace priority field in the tag with value define in reg 6fh bit 7~5. 0 vlan pe0,rw vlan mode enable 1: 802.1q base vlan mode enable 0: port-base vlan only 6.8 switch status register (54h) bit name default description 7 mem_bist ph0,ro address table memory test bist status 0: ok 1: fail 6:0 reserved 0,ro reserved
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 18 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 6.9 per port control/status index register (60h) bit name default description 7:5 reserved ph0,rw reserved 4:2 reserved 0,ro reserved 1:0 index ph0,rw port index for register 61h~84h write the port number to this register before write/read register 61h~84h. 6.10 per port control data register (61h) bit name default description 7 reserved pe0,rw reserved 6 parti_en pe0,rw enable partition detection 5 no_dis_rx pe0,rw not discard rx packets when ingress bandwidth control when received packets bandwidth reach ingress bandwidth threshold, the packets over the threshold are not discarded but with flow control. 4 flow_dis pe0,rw flow control in full duplex mode, or back pressure in half duplex mode enable 0 ? enable 1 ? disable 3 bandwidth pe0,rw bandwidth control 0: control with ingress and egress separately, ref to register 66h. 1: control with ingress or egress, ref to register 67h 2 bp_dis pe0,rw broadcast packet filter 0 ? accept broadcast packets 1 ? reject broadcast packets 1 mp_dis pe0,rw multicast packet filter 0 ? accept multicast packets 1 ? reject multicast packets 0 mp_storm pe0,rw broadcast storm control 0 ? only broadcast packets storm are controlled 1 ? multicast packets also same as broadcast storm control. 6.11 per port status data register (62h) bit name default description 7:6 reserved p0,ro reserved 5 lp_fcs p0,ro link partner flow control enable status 4 bist p0,ro bist status 1: sram bist fail 0: sram bist pass 3 reserved 0,ro reserved 2 speed2 p0,ro phy speed status 0: 10mbps, 1:100mbps 1 fdx2 p0,ro phy duplex status 0: half-duplex, 1:full-duplex 0 link2 p0,ro phy link status 0: link fail, 1: link ok
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 19 DM9332-15-ds-p01 march 5, 2012 6.12 per port forward control register (65h) bit name default description 7 loopback ph0,rw loop-back mode the transmitted packet will be forward to this port itself. 6 moni_tx ph0,rw tx packet monitored the transmitted packets are also forward to sniffer port. 5 moni_rx ph0,rw rx packet monitored the received packets are also forward to sniffer port. 4 dis_bmp ph0,rw broad/multicast not monitored the received broadcast or multicast packets are not forward to sniffer port. 3 reserved ph0,rw reserved 2 tx_dis ph0,rw packet transmit disabled all packets can not be forward to this port. 1 rx_dis ph0,rw packet receive disabled all received packets are discarded. 0 adr_dis ph0,rw address learning disabled the source address (sa) field of packet is not learned to address table.
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 20 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 6.13 per port ingress/egress control register (66h) bit name default description 7:4 ingress pe0,rw ingress rate control these bits define the bandwidth threshold that received packets over the threshold are discarded. 0000: none 0001: 64kbps 0010: 128kbps 0011: 256kbps 0100: 512kbps 0101: 1mbps 0110: 2mbps 0111: 4mbps 1000: 8mbps 1001: 16mbps 1010: 32mbps 1011: 48mbps 1100: 64mbps 1101: 72mbps 1110: 80mbps 1111: 88mbps 3:0 egress pe0,rw egress rate control these bits define the bandwidth threshold that transmitted packets over the threshold are discarded. 0000: none 0001: 64kbps 0010: 128kbps 0011: 256kbps 0100: 512kbps 0101: 1mbps 0110: 2mbps 0111: 4mbps 1000: 8mbps 1001: 16mbps 1010: 32mbps 1011: 48mbps 1100: 64mbps 1101: 72mbps 1110: 80mbps 1111: 88mbps
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 21 DM9332-15-ds-p01 march 5, 2012 6.14 bandwidth control setting register (67h) bit name default description 7:4 bsth pe0,rw broadcast storm threshold these bits define the bandwidth threshold that received broadcast packets over the threshold are discarded 0000: no broadcast storm control 0001: 8k packets/sec 0010: 16k packets/sec 0011: 64k packets/sec 0100: 5% 0101: 10% 0110: 20% 0111: 30% 1000: 40% 1001: 50% 1010: 60% 1011: 70% 1100: 80% 1101: 90% 111x: no broadcast storm control 3:0 bw ctrl pe0,rw received and transmitted bandwidth control these bits define the bandwidth threshold that transmitted or received packets over the threshold are discarded 0000: none 0001: 64kbps 0010: 128kbps 0011: 256kbps 0100: 512kbps 0101: 1mbps 0110: 2mbps 0111: 4mbps 1000: 8mbps 1001: 16mbps 1010: 32mbps 1011: 48mbps 1100: 64mbps 1101: 72mbps 1110: 80mbps 1111: 88mbps 6.15 per port block unicast ports control register (68h) bit name default description 7:4 reserved ph0,rw reserved 3:0 blk_up ph0,rw ports of unicast packet be blocked the received unicast packets are not forward to the assigned ports. note that the assigned port definition: bit 0 for port 0, bit 1 for port 1,
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 22 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 6.16 per port block multicast ports control register (69h) bit name default description 7:4 reserved ph0,rw reserved 3:0 blk_mp ph0,rw ports of multicast packet be blocked the received multicast packets are not forward to the assigned ports. 6.17 per port block broadcast ports control register (6ah) bit name default description 7:4 reserved ph0,rw reserved 3:0 blk_bp ph0,rw ports of broadcast packet be blocked the received broadcast packets are not forward to the assigned ports. 6.18 per port block unknown ports control register (6bh) bit name default description 7:4 reserved ph0,rw reserved 3:0 blk_ukp ph0,rw ports of unknown packet be blocked the packets with da field not found in address table are not forward to the assigned ports. 6.19 per port priority queue control register (6dh) bit name default description 7 tag_out pe0,rw output packet tagging enable the transmitted packets are containing vlan tagged field. 6 pri_dis pe0,rw priority queue disable only one transmit queue is supported in this port. 5 wfque pe0,rw weighted fair queuing 1: the priority weight for queue 3, 2, 1, and 0 is 8, 4, 2, and 1 respectively. 0: the queue 3 has the highest priority, and the next priorities are queue 2, 1, and 0 respectively. 4 tos_pri pe0,rw priority tos over vlan if an ip packet with vlan tag, the priority of this packet is decode from tos field. 3 tos_off pe0,rw tos priority classification disable the priority information from tos field of ip packet is ignored. 2 pri_off pe0,rw 802.1 p priority classification disable the priority information from vlan tag field is ignored. 1:0 p_pri pe0,rw port base priority the priority queue number in port base. 00= queue 0, 01=queue 1, 10=queue 2, 11=queue 3 6.20 per port vlan tag low byte register (6eh) bit name default description 7:0 vid70 pe01,rw vid[7:0]
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 23 DM9332-15-ds-p01 march 5, 2012 6.21 per port vlan tag high byte register (6fh) bit name default description 7:5 pri pe0,rw tag [15:13] 4 cfi pe0,rw tag[12] 3:0 vid118 pe0,rw vid[11:8] 6.22 mib counters port index register (80h) bit name default description 7 ready p0,ro mib counter data is ready when this register is written with index data, this bit is cleared and the mib counter reading is in progress. after end of read mib counter, the mib data is loaded into register 81h~84h, and this bit is set to indicate that the mib data is ready. 6:5 reserved 0,ro reserved 4:0 index phs0,rw mib counter index 0~9, each counter is 32-bit in register 81h~84h. write the mib counter index to this register before read them. 6.23 mib counter data register (81h~84h) bit name default description 81h counter0 x,ro counter?s data bit 7~0 82h counter1 x,ro counter?s data bit 15~8 83h counter2 x,ro counter?s data bit 23~16 84h counter3 x,ro counter?s data bit 31~24 mib counter: rx byte counter registers (index 00h) mib counter: rx uni-cast packet counter registers (index 01h) mib counter: rx multi-cast packet counter registers (index 02h) mib counter: rx discard packet counter registers (index 03h) mib counter: rx error packet counter registers (index 04h) mib counter: tx byte counter registers (index 05h) mib counter: tx uni-cast packet counter registers (index 06h) mib counter: tx multi-cast packet counter registers (index 07h) mib counter: tx discard packet counter registers (index 08h) mib counter: tx error packet counter registers (index 09h)
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 24 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 6.24 vlan grouping table registers (b0h~bfh) define the port member in vlan group there are 16 vlan group that defined in reg. b0h~bfh. group 0 defined in reg. b0h, and group 1 defined in reg. b1h ? and so on. bit name default description 7:4 reserved pe0,ro reserved 2 port_p2 pe1,rw mapping to port 2 1 port_p1 pe1,rw mapping to port 1 0 port_p0 pe1,rw mapping to port 0 6.25 tos priority map registers (c0h~cfh) define the 6-bit or 3-bit of tos field mapping to 2-bit priority queue number. in 6-bit type, the reg. 53h bit 7 is ?1?, reg. c0h bit [1:0] de fine the mapping for tos value 0, reg. 60h bit [3:2] define the mapping for tos value 1, ? and so on, till reg. cfh bit [7:6] define tos value 63. in 3-bit type, reg. c0h bit [1:0] defines the mapping for tos va lue 0, reg. 60h bit [3:2] defines the mapping for tos value 1 ? and so on, and till reg. c1h bit [7:6] define tos value 7. c0h: bit name default description 7:6 tos3 pe0/1,rw if bit 53h.7 =1 :tos[7:2]=03h, otherwise tos]7:5]=03h 5:4 tos2 pe0,/1rw if bit 53h.7 =1 :tos[7:2]=02h, otherwise tos]7:5]=02h 3:2 tos1 pe0,rw if bit 53h.7 =1 :tos[7:2]=01h, otherwise tos]7:5]=01h 1:0 tos0 pe0,rw if bit 53h.7 =1 :tos[7:2]=00h, otherwise tos]7:5]=00h c1h: bit name default description 7:6 tos7 pe0/3,rw if bit 53h.7 =1 :tos[7:2]=07h, otherwise tos]7:5]=07h 5:4 tos6 pe0/3,rw if bit 53h.7 =1 :tos[7:2]=06h, otherwise tos]7:5]=06h 3:2 tos5 pe0/2,rw if bit 53h.7 =1 :tos[7:2]=05h, otherwise tos]7:5]=05h 1:0 tos4 pe0/2,rw if bit 53h.7 =1 :tos[7:2]=04h, otherwise tos]7:5]=04h c2h: bit name default description 7:6 tosb pe0,rw if bit 53h.7 =1 :tos[7:2]=0bh 5:4 tosa pe0,rw if bit 53h.7 =1 :tos[7:2]=0ah 3:2 tos9 pe0,rw if bit 53h.7 =1 :tos[7:2]=09h 1:0 tos8 pe0,rw if bit 53h.7 =1 :tos[7:2]=08h c3h: bit name default description 7:6 tosf pe0,rw if bit 53h.7 =1 :tos[7:2]=0fh 5:4 tose pe0,rw if bit 53h.7 =1 :tos[7:2]=0eh 3:2 tosd pe0,rw if bit 53h.7 =1 :tos[7:2]=0dh 1:0 tosc pe0,rw if bit 53h.7 =1 :tos[7:2]=0ch
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 25 DM9332-15-ds-p01 march 5, 2012 c4h: bit name default description 7:6 tos13 pe1,rw if bit 53h.7 =1 :tos[7:2]=13h 5:4 tos12 pe1,rw if bit 53h.7 =1 :tos[7:2]=12h 3:2 tos11 pe1,rw if bit 53h.7 =1 :tos[7:2]=11h 1:0 tos10 pe1,rw if bit 53h.7 =1 :tos[7:2]=10h c5h: bit name default description 7:6 tos17 pe1,rw if bit 53h.7 =1 :tos[7:2]=17h 5:4 tos16 pe1,rw if bit 53h.7 =1 :tos[7:2]=16h 3:2 tos15 pe1,rw if bit 53h.7 =1 :tos[7:2]=15h 1:0 tos14 pe1,rw if bit 53h.7 =1 :tos[7:2]=14h c6h: bit name default description 7:6 tos1b pe1,rw if bit 53h.7 =1 :tos[7:2]=1bh 5:4 tos1a pe1,rw if bit 53h.7 =1 :tos[7:2]=1ah 3:2 tos19 pe1,rw if bit 53h.7 =1 :tos[7:2]=19h 1:0 tos18 pe1,rw if bit 53h.7 =1 :tos[7:2]=18h c7h: bit name default description 7:6 tos1f pe1,rw if bit 53h.7 =1 :tos[7:2]=1fh 5:4 tos1e pe1,rw if bit 53h.7 =1 :tos[7:2]=1eh 3:2 tos1d pe1,rw if bit 53h.7 =1 :tos[7:2]=1dh 1:0 tos1c pe1,rw if bit 53h.7 =1 :tos[7:2]=1ch c8h: bit name default description 7:6 tos23 pe2,rw if bit 53h.7 =1 :tos[7:2]=23h 5:4 tos22 pe2,rw if bit 53h.7 =1 :tos[7:2]=22h 3:2 tos21 pe2,rw if bit 53h.7 =1 :tos[7:2]=21h 1:0 tos20 pe2,rw if bit 53h.7 =1 :tos[7:2]=20h c9h: bit name default description 7:6 tos27 pe2,rw if bit 53h.7 =1 :tos[7:2]=27h 5:4 tos26 pe2,rw if bit 53h.7 =1 :tos[7:2]=26h 3:2 tos25 pe2,rw if bit 53h.7 =1 :tos[7:2]=25h 1:0 tos24 pe2,rw if bit 53h.7 =1 :tos[7:2]=24h
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 26 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 cah: bit name default description 7:6 tos2b pe2,rw if bit 53h.7 =1 :tos[7:2]=2bh 5:4 tos2a pe2,rw if bit 53h.7 =1 :tos[7:2]=2ah 3:2 tos29 pe2,rw if bit 53h.7 =1 :tos[7:2]=29h 1:0 tos28 pe2,rw if bit 53h.7 =1 :tos[7:2]=28h cbh: bit name default description 7:6 tos2f pe2,rw if bit 53h.7 =1 :tos[7:2]=2fh 5:4 tos2e pe2,rw if bit 53h.7 =1 :tos[7:2]=2eh 3:2 tos2d pe2,rw if bit 53h.7 =1 :tos[7:2]=2dh 1:0 tos2c pe2,rw if bit 53h.7 =1 :tos[7:2]=2ch cch: bit name default description 7:6 tos33 pe3,rw if bit 53h.7 =1 :tos[7:2]=33h 5:4 tos32 pe3,rw if bit 53h.7 =1 :tos[7:2]=32h 3:2 tos31 pe3,rw if bit 53h.7 =1 :tos[7:2]=31h 1:0 tos30 pe3,rw if bit 53h.7 =1 :tos[7:2]=30h cdh: bit name default description 7:6 tos37 pe3,rw if bit 53h.7 =1 :tos[7:2]=37h 5:4 tos36 pe3,rw if bit 53h.7 =1 :tos[7:2]=36h 3:2 tos35 pe3,rw if bit 53h.7 =1 :tos[7:2]=35h 1:0 tos34 pe3,rw if bit 53h.7 =1 :tos[7:2]=34h ceh: bit name default description 7:6 tos3b pe3,rw if bit 53h.7 =1 :tos[7:2]=3bh 5:4 tos3a pe3,rw if bit 53h.7 =1 :tos[7:2]=3ah 3:2 tos39 pe3,rw if bit 53h.7 =1 :tos[7:2]=39h 1:0 tos38 pe3,rw if bit 53h.7 =1 :tos[7:2]=38h cfh: bit name default description 7:6 tos3f pe3,rw if bit 53h.7 =1 :tos[7:2]=3fh 5:4 tos3e pe3,rw if bit 53h.7 =1 :tos[7:2]=3eh 3:2 tos3d pe3,rw if bit 53h.7 =1 :tos[7:2]=3dh 1:0 tos3c pe3,rw if bit 53h.7 =1 :tos[7:2]=3ch
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 27 DM9332-15-ds-p01 march 5, 2012 6.26 vlan priority map registers (d0h~d1h) define the 3-bit of priority field valn mapping to 2-bit priority queue number. d0h: bit name default description 7:6 tag3 pe1,rw vlan priority tag value = 03h 5:4 tag2 pe1,rw vlan priority tag value = 02h 3:2 tag1 pe0,rw vlan priority tag value = 01h 1:0 tag0 pe0,rw vlan priority tag value = 00h d1h: bit name default description 7:6 tag7 pe3,rw vlan priority tag value = 07h 5:4 tag6 pe3,rw vlan priority tag value = 06h 3:2 tag5 pe2,rw vlan priority tag value = 05h 1:0 tag4 pe2,rw vlan priority tag value = 04h
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 28 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 7. eeprom format name word description reserved 0~2 reserved auto load control 3 [1:0] auto load control vendor id 4 vendor id reserved 6 reserved phy control 7 phy control reserved 8~15 reserved control 16 bit 1:0=01: acce pt setting of word 17,18 bit 3:2=01: accept setting of word 19~26 bit 5:4=01: accept setting of word 27~30 bit 7:6=01: accept setting of word 31 bit 9:8=01: accept setting of word 32~39 bit 11:10=01: accept setting of word 40~47 bit 15:12 =01: reserved switch control 1 17 when word 16 bit 1:0 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. 52h bit 7~0 this word bit 15~8 will be loaded to reg. 53h bit 7~0 switch control 2 18 when word 16 bit 1:0 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. 58h bit 7~0 this word bit 15~8 will be loaded to reg. 59h bit 7~0 port 0 control 1 19 when word 16 bit 3:2 is ?01?, after power on reset: this word bit 7~0 will be loaded to port 0 reg. 61h bit 7~0 this word bit 15~8 will be loaded to port 0 reg. 66h bit 7~0 port 0 control 2 20 when word 16 bit 3:2 is ?01?, after power on reset: this word bit 7~0 will be loaded to port 0 reg. 67h bit 7~0 this word bit 15~8 will be loaded to port 0 reg. 6dh bit 7~0 port 1 control 1 21 when word 16 bit 3:2 is ?01?, after power on reset: this word bit 7~0 will be loaded to port 1 reg. 61h bit 7~0 this word bit 15~8 will be loaded to port 1 reg. 66h bit 7~0 port 1 control 2 22 when word 16 bit 3:2 is ?01?, after power on reset: this word bit 7~0 will be loaded to port 1 reg. 67h bit 7~0 this word bit 15~8 will be loaded to port 1 reg. 6dh bit 7~0 port 2 control 1 23 when word 16 bit 3:2 is ?01?, after power on reset: this word bit 7~0 will be loaded to port 2 reg. 61h bit 7~0 this word bit 15~8 will be loaded to port 2 reg. 66h bit 7~0 port 2 control 2 24 when word 16 bit 3:2 is ?01?, after power on reset: this word bit 7~0 will be loaded to port 2 reg. 67h bit 7~0 this word bit 15~8 will be loaded to port 2 reg. 6dh bit 7~0 reserved 25-26 reserved port 0 vlan tag 27 when word 16 bit 5:4 is ?01?, after power on reset: this word bit 7~0 will be loaded to port 0 reg. 6eh bit 7~0 this word bit 15~8 will be loaded to port 0 reg. 6fh bit 7~0 port 1 vlan tag 28 when word 16 bit 5:4 is ?01?, after power on reset: this word bit 7~0 will be loaded to port 1 reg. 6eh bit 7~0 this word bit 15~8 will be loaded to port 1 reg. 6fh bit 7~0 port 2 vlan tag 29 when word 16 bit 5:4 is ?01?, after power on reset: this word bit 7~0 will be loaded to port 2 reg. 6eh bit 7~0
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 29 DM9332-15-ds-p01 march 5, 2012 this word bit 15~8 will be loaded to port 2 reg. 6fh bit 7~0 reserved 30 reserved vlan priority map 31 when word 16 bit 7:6 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. d0h bit 7~0 this word bit 15~8 will be loaded to reg. d1h bit 7~0 port vlan group 0,1 32 when word 16 bit 9:8 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. b0h bit 7~0 this word bit 15~8 will be loaded to reg. b1h bit 7~0 port vlan group 2,3 33 when word 16 bit 9:8 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. b2h bit 7~0 this word bit 15~8 will be loaded to reg. b3h bit 7~0 port vlan group 4,5 34 when word 16 bit 9:8 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. b4h bit 7~0 this word bit 15~8 will be loaded to reg. b5h bit 7~0 port vlan group 6,7 35 when word 16 bit 9:8 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. b6h bit 7~0 this word bit 15~8 will be loaded to reg. b7h bit 7~0 port vlan group 8,9 36 when word 16 bit 9:8 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. b8h bit 7~0 this word bit 15~8 will be loaded to reg. b9h bit 7~0 port vlan group 10,11 37 when word 16 bit 9:8 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. bah bit 7~0 this word bit 15~8 will be loaded to reg. bbh bit 7~0 port vlan group 12,13 38 when word 16 bit 9:8 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. bch bit 7~0 this word bit 15~8 will be loaded to reg. bdh bit 7~0 port vlan group 14,15 39 when word 16 bit 9:8 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. beh bit 7~0 this word bit 15~8 will be loaded to reg. bfh bit 7~0 tos priority map 0 40 when word 16 bit 11:10 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. c0h bit 7~0 this word bit 15~8 will be loaded to reg. c1h bit 7~0 tos priority map 1 41 when word 16 bit 11:10 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. c2h bit 7~0 this word bit 15~8 will be loaded to reg. c3h bit 7~0 tos priority map 2 42 when word 16 bit 11:10 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. c4h bit 7~0 this word bit 15~8 will be loaded to reg. c5h bit 7~0 tos priority map 3 43 when word 16 bit 11:10 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. c6h bit 7~0 this word bit 15~8 will be loaded to reg. c7h bit 7~0 tos priority map 4 44 when word 16 bit 11:10 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. c8h bit 7~0 this word bit 15~8 will be loaded to reg. c9h bit 7~0 tos priority map 5 45 when word 16 bit 11:10 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. cah bit 7~0 this word bit 15~8 will be loaded to reg. cbh bit 7~0 tos priority map 6 46 when word 16 bit 11:10 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. cch bit 7~0
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 30 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 this word bit 15~8 will be loaded to reg. cdh bit 7~0 tos priority map 7 47 when word 16 bit 11:10 is ?01?, after power on reset: this word bit 7~0 will be loaded to reg. ceh bit 7~0 this word bit 15~8 will be loaded to reg. cfh bit 7~0
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 31 DM9332-15-ds-p01 march 5, 2012 8. phy registers mii register description add name 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 reset loop back speed select auto-n enable power down isolate restart auto-n full duplex coll. test reserved 00h contr ol 0 0 1 1 0 0 0 1 0 000_0000 t4 cap. tx fdx cap. tx hdx cap. 10 fdx cap. 10 hdx cap. reserved pream. supr. auto-n compl. remote fault auto-n cap. link status jabber detect extd cap. 01h status 0 1 1 1 1 0000 1 0 0 1 0 0 1 02h phyid1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 phyid2 1 0 1 1 1 0 model no. version no. 03h 01011 0000 04h auto-neg. advertise next page flp rcv ack remote fault reserved fc adv t4 adv tx fdx adv tx hdx adv 10 fdx adv 10 hdx adv advertised protocol selector field 05h link part. ability lp next page lp ack lp rf reserved lp fc lp t4 lp tx fdx lp tx hdx lp 10 fdx lp 10 hdx link partner protocol selector field 06h auto-neg. expansio n reserved pardet fault lp next pg able next pg able new pg rcv lp auton cap. 10h specifie d config. bp 4b5b bp scr bp align bp_adp ok reserve dr tx reserve d reserve d force 100lnk reserve d reserve d rpdctr -en reset st. mch pream. supr. sleep mode reserved 11h specifie d conf/stat 100 fdx 100 hdx 10 fdx 10 hdx reserve d reverse d reverse d phy addr [4:0] auto-n. monitor bit [3:0] 12h 10t conf/stat rsvd lp enable hbe enable sque enable jab enable reserve d reserved polarity reverse 13h pwdor reserved pd10dr v pd100l pdchip pdcrm pdaeq pddrv pdecli pdeclo pd10 14h specified config tstse1 tstse 2 force_ txsd force_ fef prea mble x tx10m _pwr nway_ pwr reserved mdix_c ntl autoneg _dlpbk mdix_fix value mdix_do wn monsel1 monsel0 reserve d pd_valu e 16h rcver receiver error counter 17h dis_conn ect reversed disconnect_counter 1dh pscr reversed prea mblex amplit ude tx_pw r reversed key to default in the register description that follows, the default column takes the form: , / where: : 1 bit set to logic one 0 bit set to logic zero x no default value : ro = read only, rw = read/write : sc = self clearing, p = value permanently set
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 32 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 8.1 basic mode control register (bmcr) ? 00h bit bit name default description 15 reset 0, rw/sc reset 1=software reset 0=normal operation this bit sets the status and controls the phy registers to their default states. this bit, which is self-clearing, will keep returning a value of one until the reset process is completed 14 loopback 0, rw loopback loop-back control register 1 = loop-back enabled 0 = normal operation when in 100mbps operation mode, setting this bit may cause the descrambler to lose synchronization and produce a 720ms "dead time" before any valid data appears at the mii receive outputs 13 speed selection 1, rw speed select 1 = 100mbps 0 = 10mbps link speed may be selected either by this bit or by auto-negotiation. when auto-negotiation is enabled and bit 12 is set, this bit will return auto-negotiation selected medium type 12 auto-negotiation enable 1, rw auto-negotiation enable 1 = auto-negotiation is enabled, bit 8 and 13 will be in auto-negotiation status 11 power down 0, rw power down while in the power-down state, the phy should respond to management transactions. during the transition to power-down state and while in the power-down state, the phy should not generate spurious signals on the mii 1=power down 0=normal operation 10 isolate 0,rw isolate force to 0 in application. 9 restart auto-negotiation 0,rw/sc restart auto-negotiation 1 = restart auto-negotiation. re-initiates the auto-negotiation process. when auto-negotiation is disabled (bit 12 of this register cleared), this bit has no function and it should be cleared. this bit is self-clearing and it will keep returning to a value of 1 until auto-negotiation is initiated by the DM9332. the operation of the auto-negotiation process will not be affected by the management entity that clears this bit 0 = normal operation 8 duplex mode 1,rw duplex mode 1 = full duplex operation. duplex selection is allowed when auto-negotiation is disabled (bit 12 of this register is cleared). with auto-negotiation enabled, this bi t reflects the duplex capability selected by auto-negotiation 0 = normal operation
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 33 DM9332-15-ds-p01 march 5, 2012 7 collision test 0,rw collision test 1 = collision test enabled. when set, this bit will cause the col signal to be asserted in response to the assertion of tx_en in internal mii interface. 0 = normal operation 6-0 reserved 0,ro reserved read as 0, ignore on write 8.2 basic mode status register (bmsr) ? 01h bit bit name default description 15 100base-t4 0,ro/p 100base-t4 capable 1 = DM9332 is able to perform in 100base-t4 mode 0 = DM9332 is not able to perform in 100base-t4 mode 14 100base-tx full-duplex 1,ro/p 100base-tx full duplex capable 1 = DM9332 is able to perform 100base-tx in full duplex mode 0 = DM9332 is not able to perform 100base-tx in full duplex mode 13 100base-tx half-duplex 1,ro/p 100base-tx half duplex capable 1 = DM9332 is able to perform 100base-tx in half duplex mode 0 = DM9332 is not able to perform 100base-tx in half duplex mode 12 10base-t full-duplex 1,ro/p 10base-t full duplex capable 1 = DM9332 is able to perform 10base-t in full duplex mode 0 = DM9332 is not able to perform 10base-tx in full duplex mode 11 10base-t half-duplex 1,ro/p 10base-t half duplex capable 1 = DM9332 is able to perform 10base-t in half duplex mode 0 = DM9332 is not able to perform 10base-t in half duplex mode 10-7 reserved 0,ro reserved read as 0, ignore on write 6 mf preamble suppression 1,ro mii frame preamble suppression 1 = phy will accept management frames with preamble suppressed 0 = phy will not accept management frames with preamble suppressed 5 auto-negotiation complete 0,ro auto-negotiation complete 1 = auto-negotiation process completed 0 = auto-negotiation process not completed 4 remote fault 0, ro remote fault 1 = remote fault condition detected (cleared on read or by a chip reset). fault criteria and detection method is DM9332 implementation specific. this bit will set after the rf bit in the anlpar (bit 13, register address 05) is set 0 = no remote fault condition detected 3 auto-negotiation ability 1,ro/p auto configuration ability 1 = DM9332 is able to perform auto-negotiation 0 = DM9332 is not able to perform auto-negotiation 2 link status 0,ro link status 1 = valid link is established (for either 10mbps or 100mbps operation) 0 = link is not established
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 34 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 the link status bit is implemented with a latching function, so that the occurrence of a link failure condition causes the link status bit to be cleared and remain cleared until it is read via the management interface 1 jabber detect 0, ro jabber detect 1 = jabber condition detected 0 = no jabber this bit is implemented with a latching function. jabber conditions will set this bit unless it is cleared by a read to this register through a management interface or a DM9332 reset. this bit works only in 10mbps mode 0 extended capability 1,ro/p extended capability 1 = extended register capable 0 = basic register capable only 8.3 phy id identifier register #1 (phyid1) ? 02h the phy identifier registers #1 and #2 work together in a single identifier of the DM9332. the identifier consists of a concatenation of the organizationally unique identifier (oui), a vendor's model number, and a model revision number. davicom semiconductor's ieee assigned oui is 00606e. bit bit name default description 15-0 oui_msb <0181h> oui most significant bits this register stores bit 3 to 18 of the oui (00606e) to bit 15 to 0 of this register respectively. the most significant two bits of the oui are ignored (the ieee standard refers to these as bit 1 and 2) 8.4 phy id identifier register #2 (phyid2) ? 03h bit bit name default description 15-10 oui_lsb <101110>, ro/p oui least significant bits bit 19 to 24 of the oui (00606e) are mapped to bit 15 to 10 of this register respectively 9-4 vndr_mdl <001011>, ro/p vendor model number five bits of vendor model number mapped to bit 9 to 4 (most significant bit to bit 9) 3-0 mdl_rev <0000>, ro/p model revision number five bits of vendor model revision number mapped to bit 3 to 0 (most significant bit to bit 4)
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 35 DM9332-15-ds-p01 march 5, 2012 8.5 auto-negotiation advertisement register (anar) ? 04h this register contains the advertised abilities of this DM9332 device as they will be transmitted to its link partner during auto-negotiation. bit bit name default description 15 np 0,ro/p next page indication 0 = no next page available 1 = next page available the DM9332 has no next page, so this bit is permanently set to 0 14 ack 0,ro acknowledge 1 = link partner ability data reception acknowledged 0 = not acknowledged the DM9332's auto-negotiation state machine will automatically control this bit in the outgoing flp bursts and set it at the appropriate time during the auto-negotiation process. software should not attempt to write to this bit. 13 rf 0, rw remote fault 1 = local device senses a fault condition 0 = no fault detected 12-11 reserved x, rw reserved write as 0, ignore on read 10 fcs 0, rw flow control support 1 = controller chip supports flow control ability 0 = controller chip doesn?t support flow control ability 9 t4 0, ro/p 100base-t4 support 1 = 100base-t4 is supported by the local device 0 = 100base-t4 is not supported the DM9332 does not support 100base-t4 so this bit is permanently set to 0 8 tx_fdx 1, rw 100base-tx full duplex support 1 = 100base-tx full duplex is supported by the local device 0 = 100base-tx full duplex is not supported 7 tx_hdx 1, rw 100base-tx support 1 = 100base-tx half duplex is supported by the local device 0 = 100base-tx half duplex is not supported 6 10_fdx 1, rw 10base-t full duplex support 1 = 10base-t full duplex is supported by the local device 0 = 10base-t full duplex is not supported 5 10_hdx 1, rw 10base-t support 1 = 10base-t half duplex is supported by the local device 0 = 10base-t half duplex is not supported 4-0 selector <00001>, rw protocol selection bits these bits contain the binary encoded protocol selector supported by this node <00001> indicates that this device supports ieee 802.3 csma/cd
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 36 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 8.6 auto-negotiation link partner ability register (anlpar) ? 05h this register contains the advertised abilities of th e link partner when received during auto-negotiation. bit bit name default description 15 np 0, ro next page indication 0 = link partner, no next page available 1 = link partner, next page available 14 ack 0, ro acknowledge 1 = link partner ability data reception acknowledged 0 = not acknowledged the DM9332's auto-negotiation state machine will automatically control this bit from the incoming flp bursts. software should not attempt to write to this bit 13 rf 0, ro remote fault 1 = remote fault indicated by link partner 0 = no remote fault indicated by link partner 12-11 reserved 0, ro reserved read as 0, ignore on write 10 fcs 0, ro flow control support 1 = controller chip supports flow control ability by link partner 0 = controller chip doesn?t support flow control ability by link partner 9 t4 0, ro 100base-t4 support 1 = 100base-t4 is supported by the link partner 0 = 100base-t4 is not supported by the link partner 8 tx_fdx 0, ro 100base-tx full duplex support 1 = 100base-tx full duplex is supported by the link partner 0 = 100base-tx full duplex is not supported by the link partner 7 tx_hdx 0, ro 100base-tx support 1 = 100base-tx half duplex is supported by the link partner 0 = 100base-tx half duplex is no t supported by the link partner 6 10_fdx 0, ro 10base-t full duplex support 1 = 10base-t full duplex is supported by the link partner 0 = 10base-t full duplex is not supported by the link partner 5 10_hdx 0, ro 10base-t support 1 = 10base-t half duplex is supported by the link partner 0 = 10base-t half duplex is not supported by the link partner 4-0 selector <00000>, ro protocol selection bits link partner?s binary encoded protocol selector
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 37 DM9332-15-ds-p01 march 5, 2012 8.7 auto-negotiation expansion register (aner) - 06h bit bit name default description 15-5 reserved 0, ro reserved read as 0, ignore on write 4 pdf 0, ro/lh local device parallel detection fault pdf = 1: a fault detected via parallel detection function. pdf = 0: no fault detected via parallel detection function 3 lp_np_able 0, ro link partner next page able lp_np_able = 1: link partner, next page available lp_np_able = 0: link partner, no next page 2 np_able 0,ro/p local device next page able np_able = 1: DM9332, next page available np_able = 0: DM9332, no next page DM9332 does not support this function, so this bit is always 0 1 page_rx 0, ro new page received a new link code word page received. this bit will be automatically cleared when the register (register 6) is read by management 0 lp_an_able 0, ro link partner auto-negotiation able a ?1? in this bit indicates that the link partner supports auto-negotiation 8.8 davicom specified configuration register (dscr) ? 10h bit bit name default description 15 bp_4b5b 0,rw bypass 4b5b encoding and 5b4b decoding 1 = 4b5b encoder and 5b4b decoder function bypassed 0 = normal 4b5b and 5b4b operation 14 bp_scr 0, rw bypass scrambler/descrambler function 1 = scrambler and descrambler function bypassed 0 = normal scrambler and descrambler operation 13 bp_align 0, rw bypass symbol alignment function 1 = receive functions (descrambler, symbol alignment and symbol decoding functions) bypassed. transmit functions (symbol encoder and scrambler) bypassed 0 = normal operation 12 bp_adpok 0, rw bypass adpok force signal detector (sd) active. this register is for debug only, not release to customer 1=forced sd is ok, 0=normal operation 11 reserved rw reserved force to 0 in application 10 tx 1, rw 100base-tx mode control 1 = 100base-tx operation 0 = 100base-fx operation 9 reserved 0, ro reserved
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 38 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 8 reserved 0, rw reserved force to 0 in application. 7 f_link_100 0, rw force good link in 100mbps 0 = normal 100mbps operation 1 = force 100mbps good link status this bit is useful for diagnostic purposes 6 reserved 0, rw reserved force to 0 in application. 5 reserved 0, rw reserved force to 0 in application. 4 rpdctr-en 1, rw reduced power down control enable this bit is used to enable automatic reduced power down 0 = disable automatic reduced power down 1 = enable automatic reduced power down 3 smrst 0, rw reset state machine when writes 1 to this bit, all state machines of phy will be reset. this bit is self-clear after reset is completed 2 mfpsc 1, rw mf preamble suppression control mii frame preamble suppression control bit 1 = mf preamble suppression bit on 0 = mf preamble suppression bit off 1 sleep 0, rw sleep mode writing a 1 to this bit will cause phy entering the sleep mode and power down all circuit except oscillator and clock generator circuit. when waking up from sleep mode (write this bit to 0), the configuration will go back to the state before sleep; but the state machine will be reset 0 reserved 0, rw reserved force to 0 in application.
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 39 DM9332-15-ds-p01 march 5, 2012 8.9 davicom specified configuration and status register (dscsr) ? 11h bit bit name default description 15 100fdx 1, ro 100m full duplex operation mode after auto-negotiation is completed, results will be written to this bit. if this bit is 1, it means the operation 1 mode is a 100m full duplex mode. the software can read bit [15:12] to see which mode is selected after auto-negotiation. this bit is invalid wh en it is not in the auto-negotiation mode 14 100hdx 1, ro 100m half duplex operation mode after auto-negotiation is completed, results will be written to this bit. if this bit is 1, it means the operation 1 mode is a 100m half duplex mode. the software can read bit [15:12] to see which mode is selected after auto-negotiation. this bit is invalid wh en it is not in the auto-negotiation mode 13 10fdx 1, ro 10m full duplex operation mode after auto-negotiation is completed, results will be written to this bit. if this bit is 1, it means the operation 1 mode is a 10m full duplex mode. the software can read bit [15:12] to see which mode is selected after auto-negotiation. this bit is invalid wh en it is not in the auto-negotiation mode 12 10hdx 1, ro 10m half duplex operation mode after auto-negotiation is completed, results will be written to this bit. if this bit is 1, it means the operation 1 mode is a 10m half duplex mode. the software can read bit [15:12] to see which mode is selected after auto-negotiation. this bit is invalid wh en it is not in the auto-negotiation mode 11 reserved 0, ro reserved read as 0, ignore on write 10 reserved 0,rw reserved 9 reserved 0,rw reserved 8-4 phyadr[4: 0] 0 or 1, rw phy address bit 4:0 the first phy address bit transmitted or received is the msb of the address (bit 4). a station management entity connected to multiple phy entities must know the appropriate address of each phy auto-negotiation monitor bits these bits are for debug only. the auto-negotiation status will be written to these bits. b3 b2 b1 b0 0 0 0 0 in idle state 0 0 0 1 ability match 0 0 1 0 acknowledge match 0 0 1 1 acknowledge match fail 0 1 0 0 consistency match 0 1 0 1 consistency match fail 0 1 1 0 parallel detects signal link ready 0 1 1 1 parallel detects signal link ready fail 3-0 anmb[3:0] 0, ro 1 0 0 0 auto-negotiation completed successfully
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 40 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 8.10 10base-t configuration/status (10btcsr) ? 12h bit bit name default description 15 reserved 0, ro reserved read as 0, ignore on write 14 lp_en 1, rw link pulse enable 1 = transmission of link pulses enabled 0 = link pulses disabled, good link condition forced this bit is valid only in 10mbps operation 13 hbe 1,rw heartbeat enable 1 = heartbeat function enabled 0 = heartbeat function disabled when the DM9332 is configured for full duplex operation, this bit will be ignored (the collision/heartbeat function is invalid in full duplex mode) 12 squelch 1, rw squelch enable 1 = normal squelch 0 = low squelch 11 jaben 1, rw jabber enable enables or disables the jabber function when the DM9332 is in 10base-t full duplex or 10base-t transceiver loopback mode 1 = jabber function enabled 0 = jabber function disabled 10 serial 0, rw 10mbps serial mode (only valid in phy test mode) force to 0, in application. 9-1 reserved 0, ro reserved read as 0, ignore on write 0 polr 0, ro polarity reversed when this bit is set to 1, it indicates that the 10mbps cable polarity is reversed. this bit is automatically set and cleared by 10base-t module 8.11 power down control register (pwdor) ? 13h bit bit name default description 15-9 reserved 0, ro reserved read as 0, ignore on write 8 pd10drv 0, rw vendor power down control test 7 pd100dl 0, rw vendor power down control test 6 pdchip 0, rw vendor power down control test 5 pdcrm 0, rw vendor power down control test 4 pdaeq 0, rw vendor power down control test 3 pddrv 0, rw vendor power down control test 2 pdedi 0, rw vendor power down control test 1 pdedo 0, rw vendor power down control test 0 pd10 0, rw vendor power down control test * when selected, the power down value is control by register 14h
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 41 DM9332-15-ds-p01 march 5, 2012 8.12 (specified config) register ? 14h bit bit name default description 15 tstse1 0,rw vendor test select 1 control 14 tstse2 0,rw vendor test select 2 control 13 force_txsd 0,rw force signal detect 1: force sd signal ok in 100base-tx mode 0: normal sd signal. 12 force_fef 0,rw vendor test select control 11 preamblex 0,rw preamble saving control 0: when bit 10 is set, the 10base-t transmit preamble count is reduced. when bit 11 of register 1dh is set, 12-bit preamble is reduced; otherwise 22-bit preamble is reduced. 1: transmit preamble bit count is normal in 10base-t mode 10 tx10m_pwr 1,rw 10base-t mode transmit power saving control 1: enable transmit power saving in 10base-t mode 0: disable transmit power saving in 10base-t mode 9 nway_pwr 0,rw auto-negotiation power saving control 1: disable power saving during auto-negotiation period 0: enable power saving during auto-negotiation period 8 reserved 0, ro reserved read as 0, ignore on write 7 mdix_cntl mdi/mdix,ro the polarity of mdi/mdix value 1: mdix mode 0: mdi mode 6 autoneg_dpbk 0,rw auto-negotiation loopback 1: test internal digital auto-negotiation loopback 0: normal. 5 mdix_fix value 0, rw mdix_cntl force value: when mdix_down = 1, mdix_cntl value depend on the register value. 4 mdix_down 0,rw mdix down manual force mdi/mdix. 0: enable hp auto-mdix 1: disable hp auto-mdix , mdix_cntl value depend on reg.14h.bit5 3 monsel1 0,rw vendor monitor select 1 2 monsel0 0,rw vendor monitor select 0 1 reserved 0,rw reserved force to 0, in application. 0 pd_value 0,rw power down control value decision the value of each field reg.13h. 1: power down 0: normal
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 42 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 8.13 davicom specified receive error counter register (recr) ? 16h bit bit name default description 15-0 rcv_ err_ cnt 0, ro receive error counter receive error counter that increments upon detection of rxer. clean by read this register. 8.14 davicom specified disconnect counter register (discr) ? 17h bit bit name default description 15-8 reserved 0, ro reserved 7-0 disconnect counter 0, ro disconnect counter that increment upon detection of disconnection. clean by read this register. 8.15 power saving control register (pscr) ? 1dh bit bit name default description 15-12 reserved 0,ro reserved 11 preamblex 0,rw preamble saving control when both bit 10and 11 of register 14h are set, the 10base-t transmit preamble count is reduced. 1: 12-bit preamble is reduced. 0: 22-bit preamble is reduced. 10 amplitude 0,rw transmit amplitude control disabled 1: when cable is unconnected with link partner, the tx amplitude is reduced for power saving. 0: disable transmit amplitude reduce function 9 tx_pwr 0.rw transmit power saving control disabled 1: when cable is unconnected with link partner, the driving current of transmit is reduced for power saving. 0: disable transmit driving power saving function 8-0 reserved 0,ro reserved
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 43 DM9332-15-ds-p01 march 5, 2012 9. functional description 9.1 serial management interface smi_ck smi_dio mdc mdio DM9332 port2 phy mdc mdio external phy can be accessed via the mdc, mdio mdc mdio host / mac (phy address = 2) (smi device address = 0~3) only one host is allowed to acccess the smi_ck, smi_dio host smi mii smi host smi - read frame structure 32 "1"s 0110 a1 a0 r7 r6 r5 r0 z 0 idle preamble sfd op code device address register address turn around data idle read write smi_ck smi_dio read d15 d14 d1 d0 // // host smi - write frame structure 32 "1"s 0 1 1 0 a1 a0 r7 r6 r5 r0 1 0 d15 d14 d1 d0 idle preamble sfd op code device address register address turn around data idle write smi_ck smi_dio write DM9332 supports two type of serial management interface (smi), host smi and mii smi. the application of smi illustrated as below. 1. the host smi consists of two pins, one is smi_ck and another is smi_dio. user can access DM9332?s eeprom, phy registers, mib counters and configuration registers through host smi. the format is following. the field of the frame means smi device address that is configured by strap pin (txd2_0 & txd2_1). the field of the frame is mapped to address of control and status register set of DM9332. the read/writ data is valid on low byte (d7~d0) of field, the high byte (d15~d8) of data is reserved. 2. DM9332 supports mii smi auto-polling for configuring speed, duplex mode, and 802.3x flow control capability of the external phy (port2) via the mdc, mdio. more detail description and frame format can refer to section 9.3.2.
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 44 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 9.2 switch function: 9.2.1 address learning the DM9332 has a self-learning mechanism for learning the mac addresses of incoming packets in real time. DM9332 stores mac addresses, port number and time stamp information in the hash-based address table. it can learn up to 1k unicast address entry. the switch engine updates address table with new entry if incoming packet?s source address (sa) does not exist and incoming packet is valid (non-error and legal length). besides, DM9332 has an option to disable address learning for individual port. this feature can be set by bit 0 of register 65h 9.2.2 address aging the time stamp information of address table is used in the aging process. the switch engine updates time stamp whenever the corresponding sa receives. the switch engine would delete the entry if its time stamp is not updated for a period of time. the period can be programmed or disabled through bit 0 & 1 of register 52h. 9.2.3 packet forwarding the DM9332 forwards the incoming packet according to following decision: (1). if da is multicast/broadcast, the packet is forwarded to all ports, except to the port on which the packet was received. (2). switch engine would look up address table based on da when incoming packets is unicast. if the da was not found in address table, the packet is treated as a multicast packet and forward to other ports. if the da was found and its destination port number is different to source port number, the packet is forward to destination port. (3). switch engine also look up vlan, port monitor setting and other forwarding constraints for the forwarding decision, more detail will discuss in later sections. the DM9332 will filter incoming packets under following conditions: (1). error packets, including crc errors, alignment errors, illegal size errors. (2). pause packets. (3). if incoming packet is unicast and its destination port number is equal to source port number. 9.2.4 inter-packet gap (ipg) ipg is the idle time between any two valid packets at the same port. the typical number is 96 bits time. in other word, the value is 9.6u sec for 10mbps and 960n sec for 100mbps. 9.2.5 back-off algorithm the DM9332 implements the binary exponential back-off algorithm in half-d uplex mode compliant to ieee standard 802.3. 9.2.6 late collision late collision is a type of collision. if a collision error occurs after the first 512 bit times of data are transmitted, the packet is dropped. 9.2.7 full duplex flow control the DM9332 supports ieee standard 802.3x flow control frames on both transmit and receive sides. on the receive side, the DM9332 will defer transmitting next normal frames, if it receives a pause frame from link partner. on the transmit side, the DM9332 issues pause frame with maximum pause time when internal resources such as received buffers, transmit queue and transmit descriptor ring are unavailable. once resources are available, the DM9332 sends out a pause frame with zero pause time allows traffic to resume immediately. 9.2.8 half duplex flow control the DM9332 supports half-duplex backpressure. the inducement is the same as full duplex mode. when flow control is required, the DM9332 sends jam pattern and results in a collision. the flow control ability can be set in bit 4 of register 61h.
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 45 DM9332-15-ds-p01 march 5, 2012 9.2.9 partition mode the DM9332 provides a partition mode for each port, see bit 6 of register 61h. the port enters partition mode when more than 64 consecutive collisions are occurred. in partition mode the port continuous to transmit but it will not receive. the port returned to normal operation mode when a good packet is seen on the wire. the detail description of partition mode represent following: (1). entering partition state a port will enter the partition state when either of the following conditions occurs: z the port detects a collision on every one of 64 consecutive re-transmit attempts to the same packet. z the port detects a single collision which occurs for more than 512 bit times. z transmit defer timer time out, which indicates the transmitting packet is deferred to long. (2). while in partition state: the port will continue to transmit its pending packet, regardless of the collision detection, and will not allow the usual back-off algorithm. additional packets pending for transmission will be transmitted, while ignoring the internal collision indication. this frees up the ports transmit buffers which would otherwise be filled up at the expense of other ports buffers. the assumption is that the partition is signifying a system failure situation (bad connection/cable/station), thus dropping packets is a small price to pay vs. the cost of halting the switch due to a buffer full condition. (3). exiting from partition state the port exits from partition state, following the end of a successful packet transmission. a successful packet transmission is defined as no collisions were detected on the first 512 bits of the transmission. 9.2.10 broadcast storm filtering the DM9332 has an option to limit the traffic of broadcast or multicast packets, to protect the switch from lower bandwidth availability. there are two types of broadcast storm control, one is throttling broadcast packet only, the other includes multicast. this feature can be set through bit 1 of register 61h. the broadcast storm threshold can be programmed by eeprom or register 67h, the default setting is no broadcast storm protecting. 9.2.11 bandwidth control the DM9332 supports two types of bandwidth control for each port. one is the ingress and egress bandwidth rate can be controlled separately, the other is combined together, this function can be set through bit 3 of register 61h. the bandwidth control is disabled by default. to separate bandwidth control mode, the threshold rate is defined in register 66h. for combined mode, it is defined in register 67h. the behavior of bandwidth control as below: (1).for the ingress control, if flow control function is enabled, pause or jam packet will be transmitted. the ingress packets will be dropped if flow control is disabled. (2).for the egress control, the egress port will not transmit any packets. on the other hand, the ingress bandwidth of source port w ill be throttled that prevent packets from forwarding. (3).in combined mode, if the sum of ingress and egress bandwidth over threshold, the bandwidth will be throttled. 9.2.12 port monitoring support the DM9332 supports ?port monitoring? function on per port base, detail as below: (1). sniffer port and monitor port there is only one port can be selected as ?sniffer port? by register 52h, multiple ports can be set as ?receive monitor port? or ?transmit monitor port? in per-port register 65h. (2).receive monitor all packets received on the ?receive monitor port? are send a copy to ?sniffer port?. for example, port 0 is set as ?receive monitor port? and port 2 is selected as a ?sniffer port?. if a packet is received form port 0 and predestined to port 1 after forwarding decision, the DM9332 will forward it to port 1 and port 2 in the end. (3).transmit monitor all packets transmitted on the ?transmit monitor port? are send a copy to ?sniffer port?. for example, port 1 is set as ?transmit monitor port? and port 2 is selected as ?sniffer port?. if a packet is received from port 0 and predestined to port 1 after forwarding decision, the DM9332 will forw ard it to port 1 and port
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 46 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 2 in the end. (4).exception the DM9332 has an optional setting that broadcast/multicast packets are not monitored (see bit 4 of register 65h). it?s useful to avoid unnecessary bandwidth. 9.2.13 vlan support 9.2.13.1 port-based vlan the DM9332 supports port-based vlan as default, up to 16 groups. each port has a default vid called pvid (port vid, see register 6fh). the DM9332 used lsb 4-bytes of pvid as index and mapped to register b0h~bfh, to define the vlan groups. for instance, we intend to partition DM9332?s ports into three groups. port 0 and port 1 in group a, port 1 and port 2 in group b, finally, port 2 and port 0 in group c. in this case, the setting as below: (1). set pvid of port 0 to 0x01h. (2). set pvid of port 1 to 0x02h. (3). set pvid of port 2 to 0x03h. (4). set register b1h to 0x06h. (5). set register b2h to 0x05h. (6). set register b3h to 0x03h. 9.2.13.2 802.1q-based vlan regarding ieee 802.1q standard, tag-based vlan uses an extra tag to identify the vlan membership of a frame across vlan-aware switch/router. a tagged frame is four bytes longer than an untagged frame and contains two bytes of tpid (tag protocol identifier) and two bytes of tci (tag control information). dest. src. length/type data dest. src. tpid data tci length / type priority cfi vid standard frame tagged frame 0x8100 2 bytes 3 bits 1 bits 12 bits the DM9332 also supports 16 802.1q-based vlan groups, as specified in bit 1 of register 53h. it?s obvious that the tagged packets can be assigned to several different vlans which are determined according to the vid inside the vlan tag. therefore, the operation is similar to port-based vlan. the DM9332 used lsb 4-bytes vid of received packet with vlan tag and vlan group mapping register (b0h~bfh) to configure the vlan partition. if the destination port of received packet is not same vlan group with received port, it will be discarded. 9.2.13.3 tag/untag user can define each port as tag port or un-tag port by bit 7 of register 6dh in 802.1q-based vlan mode. the operation of tag and un-tag can explain as below conditions: (1). receive untagged packet and forward to un-tag port. received packet will forward to destination port without modification. (2). receive tagged packet and forward to un-tag port. the DM9332 will remove the tag from the packet and recalculate crc before sending it out. (3). receive untagged packet and forward to tag port.
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 47 DM9332-15-ds-p01 march 5, 2012 the DM9332 will insert the pvid tag when an untagged packet enters the port, and recalculate crc before delivering it. (4). receive tagged packet and forward to tag port. received packet will forward to destination port without modification. 9.2.14 priority support the DM9332 supports quality of service (qos) mechanism for multimedia communication such as voip and video conferencing. the DM9332 provides three priority classifications: port-based, 802.1p-based and diffserv-based priority. see next section for more detail. the DM9332 offers four level queues for transmit on per-port based. the DM9332 provides two packet scheduling algorithms: weighted fair queuing and strict priority queuing. weighted fair queuing (wfq) based on their priority and queue weight. queues with larger weights get more service than smaller. this mechanism can get highly efficient bandwidth and smooth the traffic. strict priority queuing (spq) based on priority only. the packet on the highest priority queue is transmitted first. the next highest-priority queue is work until last queue empties, and so on. this feature can be set in bit 5 of register 6dh. 9.2.14.1 port-based priority port based priority is the simplest scheme and as default. each port has a 2-bit priority value as index for splitting ingress packets to the corresponding transmit queue. this value can be set in bit 0 and 1 of register 6dh. 9.2.14.2 802.1p-based priority 802.1p priority can be disabled by bit 2 of register 6dh, it is enabled by default. the DM9332 extracts 3-bit priority field from received packet with 802.1p vlan tag, and maps this field against vlan priority map registers (d0h~d1h) to determine which transmit queue is designated. the vlan priority map is programmable. 9.2.14.3 diffserv-based priority diffserv based priority uses the most significant 6-bit of the tos field in standard ipv4 header, and maps this field against tos priority map registers (c0h~cfh) to determine which transmit queue is designated. the tos priority map is programmable too. in addition, user can only refer to most significant 3-bit of the tos field optionally, see bit 7 of register 53h.
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 48 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 9.3 mii interface 9.3.1 mii data interface the DM9332 port 2 provides a media independent interface (mii) as defined in the ieee 802.3u standard (clause 22). the mii consists of a nibble wide receive data bus, a nibble wide transmit data bus, and control signals to facilitate data transfers between the DM9332 port 2 and external device (a phy or a mac in reverse mii). ? txd2 (transmit data) is a nibble (4 bits) of data that are driven by the DM9332 synchronously with respect to txc2. for each txc2 period, which txe2 is asserted, txd2 (3:0) are accepted for transmission by the external device. ? txc2 (transmit clock) from the external device is a continuous clock that provides the timing reference for the transfer of the txe2, txd2. the DM9332 can drive 25mhz clock if it is configured to reversed mii mode. ? txe2 (transmit enable) from the DM9332 port 2 mac indicates that nibbles are being presented on the mii for transmission to the external device. ? rxd2 (receive data) is a nibble (4 bits) of data that are sampled by the DM9332 port 2 mac synchronously with respect to rxc2. for each rxc2 period which rxdv2 is asserted, rxd2 (3:0) are transferred from the external device to the DM9332 port 2 mac reconciliation sub layer. ? rxc2 (receive clock) from external device to the DM9332 port 2 mac reconciliation sub layer is a continuous clock that provides the timing reference for the transfer of the rxdv2, rxd2, and rxer2 signals. ? rxdv2 (receive data valid) input from the external device to indicates that the external device is presenting recovered and decoded nibbles to the DM9332 port 2 mac reconciliation sub layer. to interpret a receive frame correctly by the reconciliation sub layer, rx dv2 must encompass the frame, starting no later than the start-of-frame delimiter and excluding any end-stream delimiter. ? rxer2 (receive error) input from the external device is synchronously with respect to rxc2. rxer2 will be asserted for 1 or more clock periods to indicate to the reconciliation sub layer that an error was detected somewhere in the frame being transmitted from the external device to the DM9332 port 2 mac. ? crs2 (carrier sense) is asserted by the external device when either the transmit or receive medium is non-idle, and de-asserted by the external device when the transmit and receive medium are idle. the crs2 can also in output mode when the DM9332 port 2 is configured to reversed mii mode. ? col2 (collision detection) is asserted by the external device, when both the transmit and receive medium is non-idle, and de-asserted by the external device when the either transmit or receive medium are idle. the col2 can also in output mode when the DM9332 port 2 is configured to reversed mii mode. 9.3.2 mii serial management the mii serial management interface consists of a data interface, basic register set in DM9332 port 0 and 1, and a serial management interface to the register set. through this interface it is possible to control and configure multiple phy devices, include internal two ports, get status and error information, and determine the type and capabilities of the attached phy device(s). the DM9332 default is polling 3 ports basic registers 0, 1, 4, and 5 to get the link, duplex, and speed status automatically. alternatively, the DM9332 can be programmed to read or write any registers of 3 ports by section 6.8~11 csr b, c, d, and e. the DM9332 management functions correspond to mii specification for ieee 802.3u-1995 (clause 22) for registers 0 through 6 with vendor-specific registers 16,17, 18, 21, 22, 23 and 24~27. in read/write operation, the management data frame is 64-bits long and starts with 32 contiguous logic one bits (preamble) synchronization clock cycles on mdc. the start of frame delimiter (sfd) is indicated by a <01> pattern followed by the operation code (op) :< 10> indicates read operation and <01> indicates write operation. for read operation, a 2-bit turnaround (ta) filing between register address field and data field is provided for mdio to avoid contention. following the turnaround time, 16-bit data is read from or written onto management registers.
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 49 DM9332-15-ds-p01 march 5, 2012 9.3.3 serial management interface the serial control interface uses a simple two-wired serial interface to obtain and control the status of the physical layer through the mii interface. the serial control interface consists of mdc (management data clock), and mdi/o (management data input/output) signals. the mdio pin is bi-directional and may be shared by up to 32 devices. 9.3.4 management interface - read frame structure 32 "1"s 0 1 1 0 a4 a3 a0 r4 r3 r0 z 0 idle preamble sfd op code phy address register address turn around data idle read write mdc mdio read d15 d14 d1 d0 // // 9.3.5 management interface - write frame structure 32 "1"s 0 1 1 0 a4 a3 a0 r4 r3 r0 1 0 d15 d14 d1 d0 idle preamble sfd op code phy address register address turn around data idle write mdc mdio write
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 50 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 9.4 internal phy functions 9.4.1 100base-tx operation the transmitter section contains the following functional blocks: - 4b5b encoder - scrambler - parallel to serial converter - nrz to nrzi converter - nrzi to mlt-3 - mlt-3 driver 9.4.1.1 4b5b encoder the 4b5b encoder converts 4-bit (4b) nibble data generated by the mac reconciliation layer into a 5-bit (5b) code group for transmission, see reference table 1. this conversion is required for control and packet data to be combined in code groups. the 4b5b encoder substitutes the first 8 bits of the mac preamble with a j/k code-group pair (11000 10001) upon transmit. the 4b5b encoder continues to replace subsequent 4b preamble and data nibbles with corresponding 5b code-groups. at the end of the transmit packet, upon the desertions of the transmit enable signal from the mac reconciliation layer, the 4b5b encoder injects the t/r code-group pair (01101 00111) indicating the end of frame. after the t/r code-group pair, the 4b5b encoder continuously injects idles into the transmit data stream until transmit enable is asserted and the next transmit packet is detected. 9.4.1.2 scrambler the scrambler is required to control the radiated emissions (emi) by spreading the transmit energy across the frequency spectrum at the media connector and on the twisted pair cable in 100base-tx operation. by scrambling the data, the total energy presented to the cable is randomly distributed over a wide frequency range. without the scrambler, energy levels on the cable could peak beyond fcc limitations at frequencies related to the repeated 5b sequences, like the continuous transmission of idle symbols. the scrambler outp ut is combined with the nrz 5b data from the code-group encoder via an xor logic function. the result is a scrambled data stream with sufficient randomization to decrease radiated emissions at critical frequencies. 9.4.1.3 parallel to serial converter the parallel to serial conv erter receives parallel 5b scrambled data from the scrambler, and serializes it (converts it from a parallel to a serial data stream). the serialized data stream is then presented to the nrz to nrzi encoder block 9.4.1.4 nrz to nrzi encoder after the transmit data stream has been scrambled and serialized, the data must be nrzi encoded for compatibility with the tp-pmd standard, for 100base -tx transmission over category-5 unshielded twisted pair cable. 9.4.1.5 mlt-3 converter the mlt-3 conversion is accomplished by converting the data stream output, from the nrzi encoder into two binary data streams, with alternately phased logic one event. 9.4.1.6 mlt-3 driver the two binary data streams created at the mlt-3 converter are fed to the twisted pair output driver, which converts these streams to current sources and alternately drives either side of the transmit transformer?s primary winding , resulting in a minimal current mlt-3 signal.
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 51 DM9332-15-ds-p01 march 5, 2012 9.4.1.7 4b5b code group symbol meaning 4b code 3210 5b code 43210 0 data 0 0000 11110 1 data 1 0001 01001 2 data 2 0010 10100 3 data 3 0011 10101 4 data 4 0100 01010 5 data 5 0101 01011 6 data 6 0110 01110 7 data 7 0111 01111 8 data 8 1000 10010 9 data 9 1001 10011 a data a 1010 10110 b data b 1011 10111 c data c 1100 11010 d data d 1101 11011 e data e 1110 11100 f data f 1111 11101 i idle undefined 11111 j sfd (1) 0101 11000 k sfd (2) 0101 10001 t esd (1) undefined 01101 r esd (2) undefined 00111 h error undefined 00100 v invalid undefined 00000 v invalid undefined 00001 v invalid undefined 00010 v invalid undefined 00011 v invalid undefined 00101 v invalid undefined 00110 v invalid undefined 01000 v invalid undefined 01100 v invalid undefined 10000 v invalid undefined 11001 table 1
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 52 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 9.4.2 100base-tx receiver the 100base-tx receiver contains several function blocks that convert the scrambled 125mb/s serial data to synchronous 4-bit nibble data. the receive section contains the following functional blocks: - signal detect - digital adaptive equalization - mlt-3 to binary decoder - clock recovery module - nrzi to nrz decoder - serial to parallel - descrambler - code group alignment - 4b5b decoder 9.4.2.1 signal detect the signal detects function meets the specifications mandated by the ansi xt12 tp-pmd 100base-tx standards for both voltage thresholds and timing parameters. 9.4.2.2 adaptive equalization when transmitting data over copper twisted pair cable at high speed, attenuation based on frequency becomes a concern. in high speed twisted pair signaling, the frequency content of the transmitted signal can vary greatly during normal operation based on the randomness of the scrambled data stream. this variation in signal attenuation, caused by frequency variations, must be compensated for to ensure the integrity of the received data. in order to ensure quality transmission when employing mlt-3 encoding, the compensation must be able to adapt to various cable lengths and cable types depending on the installed environment. the selection of long cable lengths for a given implementation requires significant compensation, which will be over-killed in a situation that includes shorter, less attenuating cable lengths. conversely, the selection of short or intermediate cable lengths requiring less compensation will cause serious under-compensation for longer length cables. therefore, the compensation or equalization must be adaptive to ensure proper conditioning of the received signal independent of the cable length. 9.4.2.3 mlt-3 to nrzi decoder the DM9332 decodes the mlt-3 information from the digital adaptive equalizer into nrzi data. 9.4.2.4 clock recovery module the clock recovery module accepts nrzi data from the mlt-3 to nrzi decoder. the clock recovery module locks onto the data stream and extracts the 125 mhz reference clock. the extracted and synchronized clock and data are presented to the nrzi to nrz decoder. 9.4.2.5 nrzi to nrz the transmit data stream is required to be nrzi encoded for compatibility wi th the tp-pmd standard for 100base-tx transmission over category-5 unshielded twisted pair cable. this conversion process must be reversed on the receive end. the nrzi to nrz decoder receives the nrzi data stream from the clock recovery module and converts it to a nrz data stream to be presented to the serial to parallel conversion block. 9.4.2.6 serial to parallel the serial to parallel converter receives a serial data stream from the nrzi to nrz converter. it converts the data stream to parallel da ta to be presented to the descrambler. 9.4.2.7 descrambler because of the scrambling process requires to control the radiated emissions of transmit data streams, the receiver must descramble the receive data streams. the descrambler receives scrambled parallel data streams from the serial to parallel converter, and it descrambles the data streams, and presents the data streams to the code group alignment block.
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 53 DM9332-15-ds-p01 march 5, 2012 9.4.2.8 code group alignment the code group alignment block receives un-aligned 5b data from the descrambler and converts it into 5b code group data. code group alignment occurs after the j/k is detected and subsequent data is aligned on a fixed boundary. 9.4.2.9 4b5b decoder the 4b5b decoder functions as a look-up table that translates incoming 5b code groups into 4b (nibble) data. when receiving a frame, the first 2 5-bit code groups receive the start-of-frame delimiter (j/k symbols). the j/k symbol pair is stripped and two nibbles of preamble pattern are substituted. the last two code groups are the end-of-frame delimiter (t/r symbols). the t/r symbol pair is also stripped from the nibble, presented to the reconciliation layer. 9.4.3 10base-t operation the 10base-t transceiver is ieee 802.3u compliant. when the DM9332 is operating in 10base-t mode, the coding scheme is manchester. data processed for transmit is presented in nibble format, converted to a serial bit stream, then the manchester encoded. when receiving, the bit stream, encoded by the manchester, is decoded and converted into nibble format. 9.4.4 collision detection for half-duplex operation, a collision is detected when the transmit and receive channels are active simultaneously. collision detection is disabled in full duplex operation. 9.4.5 carrier sense carrier sense (crs) is asserted in half-duplex operation during transmission or reception of data. during full-duplex mode, crs is asserted only during receive operations. 9.4.6 auto-negotiation the objective of auto-negotiation is to provide a means to exchange information between linked devices and to automatically configure both devices to take maximum advantage of their abilities. it is important to note that auto-negotiation does not test the characteristics of the linked segment. the auto-negotiation function provides a means for a device to advertise supported modes of operation to a remote link partner, acknowledge the receipt and understanding of common modes of operation, and to reject un-shared modes of operation. this allows devices on both ends of a segment to establish a link at the best common mode of operation. if more than one common mode exists between the two devices, a mechanism is provided to allow the devices to resolve to a single mode of operation using a predetermined priority resolution function. auto-negotiation also provides a parallel detection function for devices that do not support the auto-negotiation feature. during parallel detection there is no exchange of information of configuration. instead, the receive signal is examined. if it is discovered that the signal matches a technology, which the receiving device supports, a connection will be automatically established using that technology. this allows devices not to support auto-negotiation but support a common mode of operation to establish a link. 9.5 hp auto-mdix functional descriptions the DM9332 supports the automatic detect cable connection type, mdi/mdix (straight through/cross over). a manual configuration by register bit for mdi or mdix is still accepted. when set to automatic, the polarity of mdi/mdix controlled timing is generated by 16-bits lfsr. the switching cycle time is located from 200ms to 420ms. the polarity control is always switch until detect received signal. after selected mdi or mdix, this feature is able to detect the required cable connection type. (straight through or crossed over) and make correction automatically
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 54 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 rx + /- from DM9332 rx+/- to rj45 tx + /- from DM9332 tx+/-to rj45 * mdi: __________ * mdix: - - - - - - - - -
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 55 DM9332-15-ds-p01 march 5, 2012 10. dc and ac electrical characteristics 10.1 absolute maximum ratings symbol parameter min. max. unit conditions vcc3 3.3v supply voltage -0.3 3.6 v vcci 1.8v core power supply -0.3 1.95 v avdd3 analog power supply 3.3v -0.3 3.6 v avddi analog power supply 1.8v -0.3 1.95 v v in dc input voltage (vin) -0.5 5.5 v t stg storage temperature range -65 +150 c t a ambient temperature 0 +70 c l t lead temperature (tl, soldering, 10 sec.). - +260 c lead-free device 10.2 operating conditions symbol parameter min. typ. max. unit conditions vcc3 3.3v supply voltage 3.135 3.300 3.465 v - vcci 1.8v core power supply 1.71 1.80 1.89 v - avdd3 analog power supply 3.3v 3.135 3.300 3.465 v - avddi analog power supply 1.8v 1.71 1.80 1.89 v - - 90 - ma 1.8vd only - 120 - ma 1.8va only - 20 - ma 3.3vd only 100base-tx with 100base-fx data utilization rate is 100% - 50 - ma 3.3va only - 90 - ma 1.8vd only - 110 - ma 1.8va only - 40 - ma 3.3vd only ethernet link o.k. - 40 - ma 3.3va only - 90 - ma 1.8vd only - 120 - ma 1.8va only - 60 - ma 3.3vd only fiber link o.k. - 20 - ma 3.3va only - 80 - ma 1.8vd only - 80 - ma 1.8va only - 30 - ma 3.3vd only p d (power dissipation) auto-negotiation or cable off - 40 - ma 3.3va only
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 56 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 10.3 dc electrical characteristics symbol parameter min. typ. max. unit conditions inputs vil input low voltage - - 0.8 v vcond1 vih input high voltage 2.0 - - v vcond1 iil input low leakage current -1 - - ua vin = 0.0v, vcond1 iih input high leakage current - - 1 ua vin = 3.3v, vcond1 outputs vol output low voltage - - 0.4 v iol = 4ma voh output high voltage 2.4 - - v ioh = -4ma receiver vicm rx+/rx- common mode input voltage - 1.8 - v 100 termination across transmitter vtd100 100tx+/- differential output voltage 1.9 2.0 2.1 v peak to peak vtd10 10tx+/- differential output voltage 4.0 5 5.6 v peak to peak itd100 100tx+/- differential output current 19 20 21 ma absolute value itd10 10tx+/- differential output current 40 50 56 ma absolute value note: vcond1 = vcc3 = 3.3v, vcci = 1.8v, avdd3 = 3.3v, avddi = 1.8v. 10.4 ac characteristics 10.4.1 power on reset timing pwrst# strap pins t2 t1 eecs t3 t4 symbol parameter min. typ. max. unit conditions t1 pwrst# low period 1 - - ms - t2 strap pin hold time with pwrst# 40 - - ns - t3 pwrst# high to eecs high - 5 - us t4 pwrst# high to eecs burst end - -- 4 ms
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 57 DM9332-15-ds-p01 march 5, 2012 10.4.2 port 2 mii interface transmit timing txc2 txe2 txd2_3~0 t1 t2 symbol parameter min. typ. max. unit t 1 txe2,txd2_3~0 setup time 32 ns t 2 txe2,txd2_3~0 hold time 8 ns 10.4.3 port 2 mii interface receive timing rxc2 rxer2,rxdv2 rxd2_3~0 t1 t2 symbol parameter min. typ. max. unit t1 rxer2, rxdv2,rxd2_3~0 setup time 5 ns t2 rxer2, rxdv2,rxd2_3~0 hold time 5 ns
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 58 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 10.4.4 mii management or host smi interface timing mdc or smi_ck mdio (drived by DM9332) or smi_dio t1 t2 t3 t4 t5 mdio (drived by exetrnal mii) or smi_dio symbol parameter min. typ. max. unit t1 mdc or smi_ck frequency 0.52 mhz t2 mdio or smi_dio by DM9332 setup time 955 ns t3 mdio or smi_dio by DM9332 hold time 960 ns t4 mdio or smi_dio by external mii setup time 40 ns t5 mdio or smi_dio by external mii hold time 40 ns
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 59 DM9332-15-ds-p01 march 5, 2012 10.4.5 eeprom timing eecs eeck eedio t1 t2 t3 t4 t5 t6 t7 symbol parameter min. typ. max. unit t1 eecs setup time 480 ns t2 eecs hold time 2080 ns t3 eeck frequency 0.38 mhz t4 eedio setup time in output state 460 ns t5 eedio hold time in output state 2100 ns t6 eedio setup time in input state 8 ns t7 eedio hold time in input state 8 ns
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter 60 preliminary datasheet DM9332-15-ds-p01 march 5, 2012 11. package information 64 pins lqfp package outline information: dimension in mm dimension in inch symbol min nom max min nom max a - - 1.60 - - 0.063 a 1 0.05 - 0.15 0.002 - 0.006 a 2 1.35 1.40 1.45 0.053 0.055 0.057 b 0.17 0.22 0.27 0.007 0.009 0.011 b 1 0.17 0.20 0.23 0.007 0.008 0.009 c 0.09 - 0.20 0.004 - 0.008 c 1 0.09 - 0.16 0.004 - 0.006 d 12.00 bsc 0.472 bsc d 1 10.00 bsc 0.394 bsc e 12.00 bsc 0.472 bsc e 1 10.00 bsc 0.394 bsc e 0.50 bsc 0.020 bsc l 0.45 0.60 0.75 0.018 0.024 0.030 l 1 1.00 ref 0.039 ref r 1 0.08 - - 0.003 - - r 2 0.08 - 0.20 0.003 - 0.008 s 0.20 - - 0.008 - - 0 o 3.5 o 7 o 0 o 3.5 o 7 o 1 0 o - - 0 o - - 2 12 o typ 12 o typ 3 12 o typ 12 o typ 1. dimension d 1 and e 1 do not include resin fin. 2. all dimensions are base on metric system. 3. general appearance spec should base on its final visual inspection spec.
DM9332 10/100mbps ethernet fiber/twisted pair single chip media converter preliminary datasheet 61 DM9332-15-ds-p01 march 5, 2012 12. ordering information part number pin count package DM9332ep 64 lqfp (pb-free) disclaimer the information appearing in this publication is believed to be accurate. integrated circuits sold by davicom semiconductor are covered by the warranty and patent indemnification provisions stipulated in the terms of sale only. davicom makes no warranty, express, statutory, implied or by description regarding the information in this publication or regarding the information in this publication or regarding the freedom of the described chip(s) from patent infringement. further, davicom makes no warranty of merchantability or fitness for any purpose. davicom reserves the right to halt production or alter the specifications and prices at any time without notice. accordingly, the reader is cautioned to verify that the data sheets and other information in this publication are current before placing orders. products described herein are intended for use in normal commercial applications. applications involving unusual environmental or reliability requirements, e.g. military equipment or medical life support equipment, are specifically not recommended without additional processing by davicom for such applications. please note that application circuits illustrate d in this document are for reference purposes only. davicom?s terms and conditions printed on the order acknowledgment govern all sales by davicom. davicom will not be bound by any terms inconsistent with these unless davicom agrees otherwise in writing. acceptance of the buyer?s orders shall be based on these terms. company overview davicom semiconductor inc. develops and manufactures integrated circuits for integration into data communication products. our mission is to design and produce ic products that are the industry?s best value for data, audio, video, and internet/intranet applications. to achieve this goal, we have built an organization that is able to develop chipsets in response to the evolving technology requirements of our customers while still delivering products that meet their cost requirements. products we offer only products that satisfy high performance requirements and which are compatible with major hardware and software standards. our currently available and soon to be released products are based on our proprietary designs and deliver high quality, high performance chipsets that comply with modem communication standards and ethernet networking standards. contact windows for additional information about davicom products, contact the sales department at: headquarters hsin-chu office: no.6 li-hsin rd. vi, science-based park, hsin-chu city, taiwan, r.o.c. tel: +886-3-5798797 fax: +886-3-5646929 mail: sales@davicom.com.tw http: http://www.davicom.com.tw warning conditions beyond those listed for the absolute maximum may destroy or damage the products. in addition, conditions for sustai ned periods at near the limits of the operating ranges will stress and may temporarily (and permanently) affect and damage structure, performance and/or function .


▲Up To Search▲   

 
Price & Availability of DM9332

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X